﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace GmailReader.UI
{
    public partial class FormAdd : Form
    {
        public string Email { get; set; }
        public string Password { get; set; }

        public FormAdd()
        {
            InitializeComponent();
            this.txtEmail.Focus();
        }

        private void btnAdd_Click(object sender, EventArgs e)
        {
            this.Email = txtEmail.Text;
            this.Password = txtPassword.Text;
            this.DialogResult = DialogResult.OK;
            this.Close();
        }
    }
}
